export let TABS = {
  name: 'tab页',
  list: [
    {
      name: '选中页',
      event: 'selectTab',
      explain: '将配置的tab页激活。无传递数据',
      extension: {
        selectTabOption: {
          type: 'exTabsPageSelect',
          name: '',
          value: {
            tabId: {
              value: [],
              hasCheckbox: false,
              treeData: '$getPageModules',
              filter: 'uiTabs',
            },
            pageId: '',
          },
        },
      },
    },
    {
      name: '禁用tab页签',
      event: 'hiddenTab',
      explain: '将tab页禁用，需选择tab组件与要禁用的tab页。支持同一 tab 组件的多个 tab 页同时禁用，不支持不同 tab 组件多选。无传递数据。',
      extension: {
        moduleId: {
          type: 'exTreeSelect',
          name: '组件选择',
          value: [],
          hasCheckbox: true,
          treeData: '$getPageModules',
          filter: ['uiTabs', 'tabsList'],
        },
      },
    },
    {
      name: '启用tab页签',
      event: 'startUsingTab',
      explain: '将tab页启用，需选择tab组件与要启用的tab页。支持同一 tab 组件的多个 tab 页同时启用，不支持不同 tab 组件多选。无传递数据。',
      extension: {
        moduleId: {
          type: 'exTreeSelect',
          name: '组件选择',
          value: [],
          hasCheckbox: true,
          treeData: '$getPageModules',
          filter: ['uiTabs', 'tabsList'],
        },
      },
    },
  ],
}
